import math
total = 0
choice = 0
print ("Welcome to YAC 0.01 Alpha")
print ("By: Joe Green & Justin Moore")
print ()
total = float(input("Please type a number: "))
while choice != "menu":
    print ()
    print ("your sum is now: ", total)
    print ()
    choice = str(input("Choose an option: \n [A]dd \n [S]ubtract \n [M]ultiply \n [D]ivide \n [R]efresh current sum \n [menu]  return to main menu: "))
    print ()
    if choice == "a":
        x = float(input("Add sum to: "))
        total = total + x
        
    if choice == "m":
        x = float(input(" Multiply sum by: "))
        total = total * x

    if choice == "s":
        x = float(input("Subtract sum from: "))
        total = total - x

    if choice == "d":
        x = float(input("Divide sum by: "))
        total = total / x

    if choice == "r":
        total = float(input("Please type a new number: "))

    
        
        
